Stripe\GeneratedExamplesTest D

Total Complexity 380
Dependencies 92
Dependents 0
Total lines 3,944
Lines of code 3,168
Logical lines of code 1,213
Comment lines 10
Methods 380
Properties 1

Methods 380

Method Rating Maintainability Complexity Lines of code
testCreateSession()
S
53 1 23
testCreateCardholder()
S
54 1 21
testUpdateDispute2()
S
57 1 18
testCreateSubscriptionSchedule()
S
57 1 17
testCreateToken2()
S
58 1 16
testCreateCreditNote()
S
59 1 16
testUpdateConfiguration2()
S
59 1 16
testCreateFundingInstructionsCustomer()
S
59 1 15
testCreatePaymentMethod()
S
59 1 15
testCreateAccount()
S
59 1 15
testCreateLocation()
S
59 1 15
testCreateToken()
S
60 1 14
testProcessSetupIntentReader()
S
60 1 14
testCreateOutboundPayment()
S
59 1 14
testCreateSession5()
S
59 1 14
testCreateToken5()
S
61 1 13
testCreateTaxRate()
S
60 1 13
testCreateDispute()
S
61 1 13
testCreateOutboundTransfer()
S
60 1 13
testCreateInboundTransfer()
S
60 1 13
testCreateSku()
S
60 1 13
testCreateReportRun()
S
61 1 13
testListOwnersAccount()
S
61 1 12
testCreateReceivedCredit()
S
61 1 12
testCreateReceivedDebit()
S
61 1 12
testCreateCharge()
S
61 1 12
testCreateToken4()
S
61 1 12
testCreatePrice()
S
61 1 12
testCreateSession3()
S
61 1 12
testRetrieveCustomerBalanceTransaction()
S
63 1 12
testUpdateCustomerBalanceTransaction()
S
62 1 12
testListCustomerBalanceTransaction()
S
62 1 12
testRetrieveTaxId()
S
63 1 12
testDeleteTaxId()
S
63 1 12
testCreatePlan()
S
61 1 12
testListUsageRecordSummary()
S
62 1 12
testCreateAccountLink()
S
61 1 12
testRetrieveApplicationFeeRefund()
S
63 1 12
testUpdateApplicationFeeRefund()
S
62 1 12
testListApplicationFeeRefund()
S
62 1 12
testRetrieveCapability()
S
63 1 12
testUpdateCapability()
S
62 1 12
testListCapability()
S
62 1 12
testRetrievePerson()
S
63 1 12
testUpdatePerson()
S
62 1 12
testDeletePerson()
S
63 1 12
testCreateTopup()
S
61 1 12
testCreateTransfer()
S
61 1 12
testRetrieveTransferReversal()
S
63 1 12
testUpdateTransferReversal()
S
62 1 12
testListOwnersAccount2()
S
61 1 12
testCreateShippingRate()
S
62 1 11
testCreatePaymentIntent()
S
62 1 11
testVerifyMicrodepositsPaymentIntent()
S
64 1 11
testVerifyMicrodepositsSetupIntent()
S
64 1 11
testAdvanceTestClock()
S
63 1 11
testCreateOrder()
S
63 1 11
testRefreshAccount()
S
63 1 11
testDisconnectAccount()
S
64 1 11
testRetrieveSession()
S
64 1 11
testFailInboundTransfer()
S
63 1 11
testReturnInboundTransferInboundTransfer()
S
64 1 11
testSucceedInboundTransfer()
S
64 1 11
testPostOutboundTransfer()
S
64 1 11
testFailOutboundTransfer()
S
64 1 11
testReturnOutboundTransferOutboundTransfer()
S
63 1 11
testCreateSecret()
S
62 1 11
testFundCashBalanceCustomer()
S
63 1 11
testCreatePaymentIntent2()
S
63 1 11
testConfirmPaymentIntent()
S
63 1 11
testIncrementAuthorizationPaymentIntent()
S
63 1 11
testApplyCustomerBalancePaymentIntent()
S
64 1 11
testConfirmSetupIntent()
S
63 1 11
testAttachPaymentMethod()
S
63 1 11
testCreateCoupon()
S
63 1 11
testCreateShippingRate2()
S
62 1 11
testExpireSession2()
S
64 1 11
testCreateCustomerBalanceTransaction()
S
63 1 11
testRetrieveConfiguration2()
S
64 1 11
testMarkUncollectibleInvoice()
S
64 1 11
testCreateSubscriptionItem()
S
63 1 11
testRetrieveSubscriptionSchedule()
S
64 1 11
testUpdateSubscriptionSchedule()
S
63 1 11
testCancelSubscriptionSchedule()
S
64 1 11
testReleaseSubscriptionSchedule()
S
64 1 11
testRetrieveTestClock2()
S
64 1 11
testDeleteTestClock2()
S
64 1 11
testAdvanceTestClock2()
S
63 1 11
testCreateUsageRecord()
S
63 1 11
testCreateLoginLink()
S
64 1 11
testCreateApplicationFeeRefund()
S
64 1 11
testRetrieveEarlyFraudWarning()
S
64 1 11
testCreateValueList()
S
62 1 11
testRetrieveValueListItem()
S
64 1 11
testDeleteValueListItem()
S
64 1 11
testRetrieveAuthorization()
S
64 1 11
testUpdateAuthorization()
S
63 1 11
testApproveAuthorization()
S
64 1 11
testDeclineAuthorization()
S
64 1 11
testCreateCard()
S
62 1 11
testCreateReader()
S
62 1 11
testProcessPaymentIntentReader()
S
63 1 11
testCancelActionReader()
S
64 1 11
testRetrieveConfiguration3()
S
64 1 11
testUpdateConfiguration3()
S
63 1 11
testDeleteConfiguration2()
S
64 1 11
testUpdateFinancialAccount()
S
63 1 11
testRetrieveFinancialAccount()
S
64 1 11
testUpdateFeaturesFinancialAccount()
S
64 1 11
testRetrieveFeaturesFinancialAccount()
S
64 1 11
testRetrieveTransaction2()
S
64 1 11
testRetrieveTransactionEntry()
S
64 1 11
testCancelOutboundTransfer()
S
64 1 11
testRetrieveOutboundTransfer()
S
64 1 11
testCancelOutboundPayment()
S
64 1 11
testRetrieveOutboundPayment()
S
64 1 11
testRetrieveInboundTransfer()
S
64 1 11
testCancelInboundTransfer()
S
64 1 11
testRetrieveReceivedCredit()
S
64 1 11
testRetrieveReceivedDebit()
S
64 1 11
testRetrieveCreditReversal()
S
64 1 11
testRetrieveDebitReversal()
S
64 1 11
testRetrieveScheduledQueryRun()
S
64 1 11
testRetrieveReportType()
S
64 1 11
testRetrieveAccount3()
S
64 1 11
testRetrieveSession3()
S
64 1 11
testRetrieveVerificationSession()
S
64 1 11
testUpdateVerificationSession()
S
63 1 11
testCancelVerificationSession()
S
64 1 11
testRedactVerificationSession()
S
64 1 11
testRetrieveVerificationReport()
S
64 1 11
setUpService()
S
77 1 3
testExpireSession()
S
71 1 5
testListShippingRate()
S
69 1 6
testCreatePaymentLink()
S
67 1 7
testListLineItemsPaymentLink()
S
69 1 6
testRetrievePaymentLink()
S
71 1 5
testCreateTestClock()
S
67 1 7
testRetrieveTestClock()
S
71 1 5
testListTestClock()
S
69 1 6
testDeleteTestClock()
S
71 1 5
testListConfiguration()
S
69 1 6
testRetrieveConfiguration()
S
71 1 5
testUpdateConfiguration()
S
66 1 8
testDeleteConfiguration()
S
71 1 5
testExpireRefund()
S
71 1 5
testUpdateOrder()
S
71 1 5
testListLineItemsOrder()
S
69 1 6
testCancelOrder()
S
71 1 5
testReopenOrder()
S
71 1 5
testSubmitOrder()
S
66 1 8
testUpdateOrder2()
S
71 1 5
testRetrieveAccount()
S
67 1 8
testCreateSession2()
S
63 1 10
testListAccount()
S
69 1 6
testFindSecret()
S
67 1 7
testDeleteWhereSecret()
S
67 1 7
testRetrieveCashBalance()
S
71 1 5
testUpdateCashBalance()
S
66 1 8
testListCustomer()
S
68 1 6
testSearchCustomer()
S
70 1 6
testRetrieveCharge()
S
71 1 5
testUpdateCharge()
S
66 1 8
testCaptureCharge()
S
71 1 5
testListCharge()
S
68 1 6
testSearchCharge()
S
70 1 6
testCreateCustomer()
S
68 1 7
testRetrieveCustomer()
S
71 1 5
testUpdateCustomer()
S
66 1 8
testDeleteCustomer()
S
71 1 5
testListCustomer2()
S
68 1 6
testSearchCustomer2()
S
70 1 6
testRetrieveDispute()
S
71 1 5
testUpdateDispute()
S
66 1 8
testCloseDispute()
S
71 1 5
testListDispute()
S
68 1 6
testRetrieveEvent()
S
71 1 5
testListEvent()
S
68 1 6
testRetrieveFile()
S
71 1 5
testListFile()
S
68 1 6
testCreateFileLink()
S
68 1 7
testRetrieveFileLink()
S
71 1 5
testUpdateFileLink()
S
66 1 8
testListFileLink()
S
68 1 6
testRetrieveMandate()
S
71 1 5
testRetrievePaymentIntent()
S
71 1 5
testUpdatePaymentIntent()
S
66 1 8
testCapturePaymentIntent()
S
67 1 8
testCancelPaymentIntent()
S
67 1 8
testListPaymentIntent()
S
68 1 6
testSearchPaymentIntent()
S
70 1 6
testCreateSetupIntent()
S
68 1 7
testRetrieveSetupIntent()
S
71 1 5
testUpdateSetupIntent()
S
66 1 8
testCancelSetupIntent()
S
67 1 8
testListSetupIntent()
S
68 1 6
testListSetupAttempt()
S
65 1 8
testCreatePayout()
S
67 1 7
testRetrievePayout()
S
71 1 5
testUpdatePayout()
S
66 1 8
testListPayout()
S
68 1 6
testCancelPayout()
S
71 1 5
testReversePayout()
S
71 1 5
testCreateRefund()
S
71 1 5
testRetrieveRefund()
S
71 1 5
testUpdateRefund()
S
66 1 8
testCancelRefund()
S
71 1 5
testListRefund()
S
68 1 6
testCreateToken3()
S
68 1 7
testCreateToken6()
S
71 1 5
testRetrieveToken()
S
71 1 5
testRetrievePaymentMethod()
S
71 1 5
testUpdatePaymentMethod()
S
66 1 8
testListPaymentMethod()
S
65 1 8
testDetachPaymentMethod()
S
67 1 8
testRetrieveSource()
S
71 1 5
testUpdateSource()
S
66 1 8
testCreateProduct()
S
71 1 5
testRetrieveProduct()
S
71 1 5
testUpdateProduct()
S
66 1 8
testListProduct()
S
68 1 6
testDeleteProduct()
S
71 1 5
testSearchProduct()
S
70 1 6
testRetrievePrice()
S
71 1 5
testUpdatePrice()
S
66 1 8
testListPrice()
S
68 1 6
testSearchPrice()
S
70 1 6
testRetrieveCoupon()
S
71 1 5
testUpdateCoupon()
S
66 1 8
testDeleteCoupon()
S
71 1 5
testListCoupon()
S
68 1 6
testCreatePromotionCode()
S
71 1 5
testUpdatePromotionCode()
S
66 1 8
testRetrievePromotionCode()
S
67 1 8
testListPromotionCode()
S
68 1 6
testListTaxCode()
S
68 1 6
testRetrieveTaxCode()
S
71 1 5
testRetrieveTaxRate()
S
71 1 5
testUpdateTaxRate()
S
66 1 8
testListTaxRate()
S
68 1 6
testRetrieveShippingRate()
S
71 1 5
testUpdateShippingRate()
S
66 1 8
testListShippingRate2()
S
68 1 6
testRetrieveSession2()
S
67 1 8
testListSession()
S
68 1 6
testCreatePaymentLink2()
S
67 1 7
testRetrievePaymentLink2()
S
71 1 5
testUpdatePaymentLink()
S
66 1 8
testListPaymentLink()
S
68 1 6
testRetrieveCreditNote()
S
71 1 5
testUpdateCreditNote()
S
66 1 8
testListCreditNoteLineItem()
S
64 1 9
testVoidCreditNoteCreditNote()
S
67 1 8
testListCreditNote()
S
68 1 6
testCreateSession4()
S
64 1 10
testListConfiguration2()
S
68 1 6
testCreateTaxId()
S
66 1 8
testListTaxId()
S
64 1 9
testCreateInvoice()
S
68 1 7
testRetrieveInvoice()
S
71 1 5
testUpdateInvoice()
S
66 1 8
testDeleteInvoice()
S
71 1 5
testFinalizeInvoiceInvoice()
S
71 1 5
testPayInvoice()
S
71 1 5
testSendInvoiceInvoice()
S
71 1 5
testVoidInvoiceInvoice()
S
71 1 5
testListInvoice()
S
68 1 6
testSearchInvoice()
S
70 1 6
testCreateInvoiceItem()
S
67 1 7
testRetrieveInvoiceItem()
S
71 1 5
testUpdateInvoiceItem()
S
66 1 8
testDeleteInvoiceItem()
S
71 1 5
testListInvoiceItem()
S
68 1 6
testRetrievePlan()
S
71 1 5
testUpdatePlan()
S
66 1 8
testDeletePlan()
S
71 1 5
testListPlan()
S
68 1 6
testCreateQuote()
S
63 1 10
testRetrieveQuote()
S
71 1 5
testUpdateQuote()
S
66 1 8
testFinalizeQuoteQuote()
S
71 1 5
testAcceptQuote()
S
71 1 5
testCancelQuote()
S
71 1 5
testListQuote()
S
68 1 6
testCreateSubscription()
S
64 1 10
testRetrieveSubscription()
S
71 1 5
testUpdateSubscription()
S
66 1 8
testCancelSubscription()
S
71 1 5
testListSubscription()
S
68 1 6
testSearchSubscription()
S
70 1 6
testRetrieveSubscriptionItem()
S
67 1 8
testUpdateSubscriptionItem()
S
66 1 8
testDeleteSubscriptionItem()
S
71 1 5
testListSubscriptionItem()
S
66 1 8
testListSubscriptionSchedule()
S
68 1 6
testCreateTestClock2()
S
68 1 7
testListTestClock2()
S
68 1 6
testRetrieveAccount2()
S
71 1 5
testUpdateAccount()
S
66 1 8
testDeleteAccount()
S
71 1 5
testRejectAccount()
S
66 1 8
testListAccount2()
S
68 1 6
testRetrieveApplicationFee()
S
71 1 5
testListApplicationFee()
S
68 1 6
testListCountrySpec()
S
68 1 6
testRetrieveCountrySpec()
S
71 1 5
testCreatePerson()
S
66 1 8
testListPerson()
S
64 1 9
testRetrieveTopup()
S
71 1 5
testUpdateTopup()
S
66 1 8
testListTopup()
S
68 1 6
testCancelTopup()
S
71 1 5
testRetrieveTransfer()
S
71 1 5
testUpdateTransfer()
S
66 1 8
testListTransfer()
S
68 1 6
testCreateTransferReversal()
S
66 1 8
testListTransferReversal()
S
64 1 9
testListEarlyFraudWarning()
S
68 1 6
testApproveReview()
S
71 1 5
testRetrieveReview()
S
71 1 5
testListReview()
S
68 1 6
testRetrieveValueList()
S
67 1 8
testUpdateValueList()
S
66 1 8
testDeleteValueList()
S
71 1 5
testListValueList()
S
68 1 6
testCreateValueListItem()
S
67 1 7
testListValueListItem()
S
65 1 8
testListAuthorization()
S
68 1 6
testRetrieveCardholder()
S
67 1 8
testUpdateCardholder()
S
66 1 8
testListCardholder()
S
68 1 6
testRetrieveCard()
S
71 1 5
testUpdateCard()
S
66 1 8
testListCard()
S
68 1 6
testSubmitDispute()
S
67 1 8
testRetrieveDispute2()
S
67 1 8
testListDispute2()
S
68 1 6
testRetrieveTransaction()
S
67 1 8
testUpdateTransaction()
S
66 1 8
testListTransaction()
S
68 1 6
testCreateConnectionToken()
S
71 1 5
testRetrieveLocation()
S
67 1 8
testUpdateLocation()
S
66 1 8
testDeleteLocation()
S
67 1 8
testListLocation()
S
68 1 6
testRetrieveReader()
S
67 1 8
testUpdateReader()
S
66 1 8
testDeleteReader()
S
71 1 5
testListReader()
S
68 1 6
testListConfiguration3()
S
68 1 6
testCreateFinancialAccount()
S
67 1 7
testListFinancialAccount()
S
68 1 6
testListTransaction2()
S
65 1 8
testListTransactionEntry()
S
65 1 8
testListOutboundTransfer()
S
65 1 8
testListOutboundPayment()
S
65 1 8
testListInboundTransfer()
S
65 1 8
testListReceivedCredit()
S
65 1 8
testListReceivedDebit()
S
65 1 8
testCreateCreditReversal()
S
68 1 7
testListCreditReversal()
S
65 1 8
testCreateDebitReversal()
S
68 1 7
testListDebitReversal()
S
65 1 8
testRetrieveSku()
S
71 1 5
testUpdateSku()
S
66 1 8
testListSku()
S
68 1 6
testDeleteSku()
S
71 1 5
testListScheduledQueryRun()
S
68 1 6
testRetrieveReportRun()
S
67 1 8
testListReportRun()
S
68 1 6
testListReportType()
S
69 1 6
testListAccount3()
S
65 1 8
testRetrieveSource2()
S
71 1 5
testCreateVerificationSession()
S
68 1 7
testListVerificationSession()
S
65 1 8
testListVerificationReport()
S
68 1 6
testRetrieveWebhookEndpoint()
S
71 1 5
testUpdateWebhookEndpoint()
S
66 1 8
testListWebhookEndpoint()
S
68 1 6
testDeleteWebhookEndpoint()
S
71 1 5